package com.qfedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 秒杀商品表(SeckillGoods)实体类
 *
 * @author makejava
 * @since 2022-12-08 18:59:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("seckill_goods")
public class SeckillGoods{
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer seckillId;
    /**
     * 名字
     */
    private String seckillName;
    /**
     * 秒杀时间
     */
    private Date seckillTime;
    /**
     * 图片
     */
    private String image;
    /**
     * 对应店铺表的id
     */
    private Integer storeId;
    /**
     * 秒杀价
     */
    private Double seckillPrice;
    /**
     * 创建时间
     */
    private Date createTime;
}

